Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Add testcontainer utils for test. #2862

Closed
wants to merge 1 commit into from

Conversation

RocMarshal
Copy link
Contributor

What changes were proposed in this pull request

Add testcontainer component for flink standalone session cluster.

Brief change log

Add testcontainer component for flink standalone session cluster.

Verifying this change

Added unit test cases.

Does this pull request potentially affect one of the following parts

  • Dependencies (does it add or upgrade a dependency): (yes / no)

@github-actions github-actions bot added the BUILD label Jul 17, 2023
@RocMarshal RocMarshal force-pushed the docker_container branch 2 times, most recently from 47c77c3 to 7da4e9a Compare July 25, 2023 05:40
@RocMarshal RocMarshal marked this pull request as ready for review July 25, 2023 05:43
@RocMarshal RocMarshal changed the title [WIP] Add testcontainer utils for test. [Improvement] Add testcontainer utils for test. Jul 25, 2023
@github-actions github-actions bot added the INFRA label Jul 25, 2023
@RocMarshal RocMarshal force-pushed the docker_container branch 4 times, most recently from a1f5e9f to 213271a Compare July 26, 2023 12:37
this.jobManagerContainer =
new FlinkContainer(
dockerImageName, JOBMANAGER, NETWORK, this.yamlConfStr, slf4jLogConsumer);
this.jobManagerContainer.addRequiredFixedExposedPorts(BLOB_SERVER_PORT, BLOB_SERVER_PORT);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use fixed port expose will occur port conflicts. Use addExposedPort to add expose port and getMappedPort get mapped expose port.

@RocMarshal RocMarshal force-pushed the docker_container branch 2 times, most recently from c57ba81 to 7ebceeb Compare August 7, 2023 13:12
@RocMarshal
Copy link
Contributor Author

@wolfboys Could you help to review it ? Thx~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants